docs: render kernel matrix via build-logic → Antora (same pipeline as ops)#724
Merged
Merged
Conversation
… ops) Aligns the kernel × platform matrix with the operators.json → ops-status-matrix.adoc pipeline, replacing the standalone test-written .md. - KernelSupportMatrixTest now emits kernel-support.json (schema https://skainet.ai/schemas/kernel-support/v1) by introspecting the registered KernelProvider implementations (scalar floor auto-derived from supports(); SIMD/native tiers declared with the source-set→targets map). Keeps the scalar-floor drift gate. - New build-logic GenerateKernelMatrixTask + KernelSupportModule model render that JSON to docs/modules/ROOT/pages/reference/kernel-support-matrix.adoc, registered as `generateKernelMatrix` in DocumentationPlugin (mirrors generateDocs). Timestamp omitted so the committed .adoc only changes when coverage changes. - Root build wires kernelInputFile/kernelOutputFile + generateKernelMatrix dependsOn the generator test; native-cpu test task stamps a stable skainet.version. nav.adoc gains the Reference entry next to the operator matrix. - Retire docs/kernel-support-matrix.md; the mindmap's companion link points at the Antora page. Verified: ./gradlew generateKernelMatrix renders Q6_K = panama-vector (post-#720) and is idempotent (no churn on re-run); native-cpu allTests green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
📖 Documentation Preview The documentation has been built successfully for this PR. Generated Files:
Artifacts:
This comment will be updated automatically when the PR is updated. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the kernel × platform matrix render from source the same way the ops matrix does —
operators.json→GenerateDocumentationTask→ops-status-matrix.adoc— instead of the standalone test-written.md.Pipeline (mirrors ops)
KernelSupportMatrixTest→kernel-support.json→GenerateKernelMatrixTask(build-logic) →reference/kernel-support-matrix.adoc(Antora), registered asgenerateKernelMatrixnext togenerateDocs.KernelProviders — the scalar floor's coverage is auto-derived fromsupports("matmul", …)(drift-gated), the SIMD/native tiers are declared with the source-set→targets map. (KSP can't derive the per-target axis from symbols, so providers are registry-introspected rather than annotation-scanned — same data, KSP-equivalent rendering.)https://skainet.ai/schemas/kernel-support/v1, structured likeoperators.json.GenerateKernelMatrixTask+KernelSupportModulemodel inbuild-logic/convention, wired throughDocumentationExtension(kernelInputFile/kernelOutputFile) +DocumentationPlugin. Timestamp omitted so the committed.adocchanges only when coverage changes.documentation { … }block +generateKernelMatrix dependsOn :…native-cpu:jvmTest; nav.adoc gains the Reference entry; the standalonedocs/kernel-support-matrix.mdis retired (mindmap link repointed to the Antora page).Output (current)
Q6_K = panama-vector(post-#720), Q5 = panama-vector on JVM/Android, scalar floor elsewhere — identical data to the retired.md, now an Antora page.Verified
./gradlew generateKernelMatrixrenders the.adocand is idempotent (no churn on re-run).KernelSupportMatrixTest(runs underjava-tests).:skainet-backends:skainet-backend-native-cpu:allTestsgreen.Follow-up option: wire
generateKernelMatrix+ agit diff --exit-codeinto the docs CI workflow for a hard staleness gate (the in-test scalar-floor gate already covers the load-bearing axis).🤖 Generated with Claude Code